package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 课程班级信息对象 sc_course_cla
 *
 * @author ruoyi
 * @date 2023-12-26
 */
public class ScCourseClaAttend
{

    /** 班级id */
    private Long claId;

    /** 课程id */
    private Long courseId;

    /** 班主任id */
    private Long staffId;
    /** 班级名称 */
    private String claName;
    /** 课程名称 */
    private String coursename;

    /** 学生名 */
    private String studentName;

    /** 学号 */
    private Long studentId;

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public Long getStudentId() {
        return studentId;
    }

    public void setStudentId(Long studentId) {
        this.studentId = studentId;
    }

    public void setClsssType(String clsssType) {
        this.clsssType = clsssType;
    }

    public BigDecimal getTotaltime() {
        return totaltime;
    }

    public void setTotaltime(BigDecimal totaltime) {
        this.totaltime = totaltime;
    }

    /** 课程类型 */
    private String clsssType;

    public String getClsssType() {
        return clsssType;
    }

    public void setClassType(String classType) {
        this.clsssType = classType;
    }



    /** 课程时长 */
    private BigDecimal totaltime;


    public String getCoursename() {
        return coursename;
    }

    public void setCoursename(String coursename) {
        this.coursename = coursename;
    }



    /** 老师名称 */
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    /** 班级颜色 */
    private String claColor;

    /** 人数 */
    private Long capacity;

    /** 每次上课学生扣除课时 */
    private BigDecimal everyStuLoseHour;

    /** 开班日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date openDate;

    /** 结班日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date closeDate;

    /** 备注 */
    private String memo;


    public void setClaId(Long claId)
    {
        this.claId = claId;
    }

    public Long getClaId()
    {
        return claId;
    }
    public void setCourseId(Long courseId)
    {
        this.courseId = courseId;
    }

    public Long getCourseId()
    {
        return courseId;
    }
    public void setStaffId(Long staffId)
    {
        this.staffId = staffId;
    }

    public Long getStaffId()
    {
        return staffId;
    }
    public void setClaName(String claName)
    {
        this.claName = claName;
    }

    public String getClaName()
    {
        return claName;
    }
    public void setClaColor(String claColor)
    {
        this.claColor = claColor;
    }

    public String getClaColor()
    {
        return claColor;
    }
    public void setCapacity(Long capacity)
    {
        this.capacity = capacity;
    }

    public Long getCapacity()
    {
        return capacity;
    }
    public void setEveryStuLoseHour(BigDecimal everyStuLoseHour)
    {
        this.everyStuLoseHour = everyStuLoseHour;
    }

    public BigDecimal getEveryStuLoseHour()
    {
        return everyStuLoseHour;
    }
    public void setOpenDate(Date openDate)
    {
        this.openDate = openDate;
    }

    public Date getOpenDate()
    {
        return openDate;
    }
    public void setCloseDate(Date closeDate)
    {
        this.closeDate = closeDate;
    }

    public Date getCloseDate()
    {
        return closeDate;
    }
    public void setMemo(String memo)
    {
        this.memo = memo;
    }

    public String getMemo()
    {
        return memo;
    }






    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("claId", getClaId())
                .append("courseId", getCourseId())
                .append("staffId", getStaffId())
                .append("claName", getClaName())
                .append("claColor", getClaColor())
                .append("capacity", getCapacity())
                .append("everyStuLoseHour", getEveryStuLoseHour())
                .append("openDate", getOpenDate())
                .append("closeDate", getCloseDate())
                .append("memo", getMemo())
                .append("name",getName())
                .append("coursename",getCoursename())
                .toString();
    }
}
